using System;
using System.Collections.Generic;

namespace RBAC.Domain.Dto.Output
{
    public class PurchaseInvoiceListDto
    {
        public int Id { get; set; }
        public string DocumentCode { get; set; }
        public string BusinessType { get; set; }
        public long SupplierId { get; set; }
        public DateTime InvoiceDate { get; set; }
        public string InvoiceUpload { get; set; }
        public string DocumentDate { get; set; }
        public string Operator { get; set; }
        public string TaxNumber { get; set; }
        public string RedBlue { get; set; }
        public string XMLFormat { get; set; }
        public string DocumentStatus { get; set; }
        public string Auditor { get; set; }
        public string InvoiceType { get; set; }
        public string InvoiceAmount { get; set; }
        public string OFDFormat { get; set; }
        public string BusinessStatus { get; set; }
        public DateTime ReviewDate { get; set; }
        public string InvoiceCode { get; set; }
        public string TaxAmount { get; set; }
        public string InvoiceStatus { get; set; }
        public string InvoiceNumber { get; set; }
        public string TotalTax { get; set; }
        public string Remarks { get; set; }

        public List<PurchaseInvoiceMaterialItemDto> Materials { get; set; }
    }

    public class PurchaseInvoiceMaterialItemDto
    {
        public long PurchaseInvoiceId { get; set; }
        public int PurchaseInvoiceMaterialsId { get; set; }
        public string PurchaseOrderNumber { get; set; }
        public string Warehouse { get; set; }
        public string InboundOrderNumber { get; set; }
        public string MaterialCode { get; set; }
        public string MaterialName { get; set; }
        public string ModelSpecifications { get; set; }
        public string MainMeasurement { get; set; }
        public string Number { get; set; }
        public string UnitPrice { get; set; }
        public string Amount { get; set; }
        public string TaxRate { get; set; }
        public string TaxAmount { get; set; }
        public string PriceTaxTotal { get; set; }
        public bool IsDel { get; set; }
    }
}
